package com.wryyyyy.service;

import com.wryyyyy.dto.LoginFormDTO;
import com.wryyyyy.dto.Result;
import com.wryyyyy.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import javax.servlet.http.HttpSession;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wryyyyy
 * @since 2024-05-14
 */
public interface IUserService extends IService<User> {
    Result sendCode(String phone, HttpSession session);

    Result login(LoginFormDTO loginForm, HttpSession session);

    Result loginPwd(LoginFormDTO loginForm, HttpSession session);

    Result setPassword(String id, String password);
}